package com.ServiceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.Bean.wdhtcustomerModel;
import com.Bean.wdreceptionrecordModel;
import com.Bean.wduserModel;
import com.Dao.wdreceptionrecordModelMapper;
import com.Service.wdreceptionrecordService;
@Service
public class wdreceptionrecordServiceImpl implements wdreceptionrecordService {
	 @Autowired
	private wdreceptionrecordModelMapper wdao;
	@Override
	public List<wdreceptionrecordModel> getList(wdreceptionrecordModel wbean) {
		return wdao.selectbydeletestatue(wbean);
	}
	@Override
	public int insert(wdreceptionrecordModel wbean) {
		
		return wdao.insertSelective(wbean);
	}
	@Override
	public wdreceptionrecordModel selectupdate(String id) {
		
		return wdao.selectByPrimaryKey(id);
	}
	@Override
	public int updaterecord(wdreceptionrecordModel wbean) {
		
		return wdao.updateByPrimaryKeySelective(wbean);
	}
	@Override
	public wdreceptionrecordModel selectadd(String id) {
		return wdao.selectupdate(id);
	}
	@Override
	public wdreceptionrecordModel selectSaleCustomer(String cid) {
		
		return wdao.selectSaleCustomer(cid);
	}

	

}
